/*
 * @(#) ArticleAndTag.java 2018年3月16日 上午9:55:06
 *
 * Copyright 2018 CIMIP, Inc. All rights reserved.
 * H-VISIONS PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */package cn.hc.share.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.hc.share.entity.ArticleAndTag;

public interface ArticleAndTagDao
{
	//添加文章标签关联数据
	public int addArticleAndTag(ArticleAndTag articleAndTag);
	
	//获取文章的标签
	public List<ArticleAndTag> findTagByArticleId(String articleId);
	
	public ArticleAndTag findTagByArticleTagUser(
			@Param("articleId")String articleId,
			@Param("userId")String userId,
			@Param("tagId")String tagId);
	
	
}
